<!-- HTML header for doxygen 1.8.18-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Cube for iOS: CContact类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Cube for iOS
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('interface_c_contact.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">构造函数</a> &#124;
<a href="#properties">属性</a> &#124;
<a href="interface_c_contact-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">CContact类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>联系人实体。  
 <a href="interface_c_contact.html#details">更多...</a></p>

<p><code>#import &lt;<a class="el" href="_c_contact_8h_source.html">CContact.h</a>&gt;</code></p>
<div class="dynheader">
类 CContact 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="interface_c_contact.png" usemap="#CContact_map" alt=""/>
  <map id="CContact_map" name="CContact_map">
<area href="interface_c_abstract_contact.html" title="抽象联系人。" alt="CAbstractContact" shape="rect" coords="0,112,111,136"/>
<area href="interface_c_entity.html" title="信息实体对象。所有实体对象的基类。" alt="CEntity" shape="rect" coords="0,56,111,80"/>
<area href="interface_c_self.html" title="用户描述自己的账号。" alt="CSelf" shape="rect" coords="0,224,111,248"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
构造函数</h2></td></tr>
<tr class="memitem:aca9adac2014a6ae03c06dfe269154686"><td class="memItemLeft" align="right" valign="top">(instancetype)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_contact.html#aca9adac2014a6ae03c06dfe269154686">initWithId:name:domain:</a></td></tr>
<tr class="memdesc:aca9adac2014a6ae03c06dfe269154686"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化联系人。  <a href="interface_c_contact.html#aca9adac2014a6ae03c06dfe269154686">更多...</a><br /></td></tr>
<tr class="separator:aca9adac2014a6ae03c06dfe269154686"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ce7ad5b54719cee8d059ad96c79c5dd"><td class="memItemLeft" align="right" valign="top">(instancetype)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_contact.html#a2ce7ad5b54719cee8d059ad96c79c5dd">initWithId:name:domain:timestamp:</a></td></tr>
<tr class="memdesc:a2ce7ad5b54719cee8d059ad96c79c5dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化联系人。  <a href="interface_c_contact.html#a2ce7ad5b54719cee8d059ad96c79c5dd">更多...</a><br /></td></tr>
<tr class="separator:a2ce7ad5b54719cee8d059ad96c79c5dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14dc5514e37c996510d060b463a3d8bd"><td class="memItemLeft" align="right" valign="top">(instancetype)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_contact.html#a14dc5514e37c996510d060b463a3d8bd">initWithJSON:domain:</a></td></tr>
<tr class="memdesc:a14dc5514e37c996510d060b463a3d8bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化联系人。  <a href="interface_c_contact.html#a14dc5514e37c996510d060b463a3d8bd">更多...</a><br /></td></tr>
<tr class="separator:a14dc5514e37c996510d060b463a3d8bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af688ac15f661464d47f2e844844fa80c"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_contact.html#af688ac15f661464d47f2e844844fa80c">getPriorityName</a></td></tr>
<tr class="memdesc:af688ac15f661464d47f2e844844fa80c"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取联系人优先显示的名称。  <a href="interface_c_contact.html#af688ac15f661464d47f2e844844fa80c">更多...</a><br /></td></tr>
<tr class="separator:af688ac15f661464d47f2e844844fa80c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebefe3c25676becce51590a2b72041e9"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_contact.html#aebefe3c25676becce51590a2b72041e9">addDevice:</a></td></tr>
<tr class="memdesc:aebefe3c25676becce51590a2b72041e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加联系人使用的设备。  <a href="interface_c_contact.html#aebefe3c25676becce51590a2b72041e9">更多...</a><br /></td></tr>
<tr class="separator:aebefe3c25676becce51590a2b72041e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a4cca262675783f5d0aa34c9cf209d7"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_contact.html#a7a4cca262675783f5d0aa34c9cf209d7">removeDevice:</a></td></tr>
<tr class="memdesc:a7a4cca262675783f5d0aa34c9cf209d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">移除联系人使用的设备。  <a href="interface_c_contact.html#a7a4cca262675783f5d0aa34c9cf209d7">更多...</a><br /></td></tr>
<tr class="separator:a7a4cca262675783f5d0aa34c9cf209d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b0308712fde3f4bb67fbfc41a43a7db"><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_device.html">CDevice</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_contact.html#a5b0308712fde3f4bb67fbfc41a43a7db">getDevice</a></td></tr>
<tr class="memdesc:a5b0308712fde3f4bb67fbfc41a43a7db"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取联系人的最近一次使用的设备。  <a href="interface_c_contact.html#a5b0308712fde3f4bb67fbfc41a43a7db">更多...</a><br /></td></tr>
<tr class="separator:a5b0308712fde3f4bb67fbfc41a43a7db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a638a6f6116810a8debf627ef7d5d0dcf"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_contact.html#a638a6f6116810a8debf627ef7d5d0dcf">isEqual:</a></td></tr>
<tr class="memdesc:a638a6f6116810a8debf627ef7d5d0dcf"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断指定联系人实例是否于当前实例数据相同。  <a href="interface_c_contact.html#a638a6f6116810a8debf627ef7d5d0dcf">更多...</a><br /></td></tr>
<tr class="separator:a638a6f6116810a8debf627ef7d5d0dcf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_interface_c_entity"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_interface_c_entity')"><img src="closed.png" alt="-"/>&#160;构造函数 继承自 <a class="el" href="interface_c_entity.html">CEntity</a></td></tr>
<tr class="memitem:a9df56c58414ee99b2c6c40e400513831 inherit pub_methods_interface_c_entity"><td class="memItemLeft" align="right" valign="top">(instancetype)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_entity.html#a9df56c58414ee99b2c6c40e400513831">init</a></td></tr>
<tr class="memdesc:a9df56c58414ee99b2c6c40e400513831 inherit pub_methods_interface_c_entity"><td class="mdescLeft">&#160;</td><td class="mdescRight">默认初始化。  <a href="interface_c_entity.html#a9df56c58414ee99b2c6c40e400513831">更多...</a><br /></td></tr>
<tr class="separator:a9df56c58414ee99b2c6c40e400513831 inherit pub_methods_interface_c_entity"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a94ac312167c8438992a124374d24a4 inherit pub_methods_interface_c_entity"><td class="memItemLeft" align="right" valign="top">(instancetype)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_entity.html#a2a94ac312167c8438992a124374d24a4">initWithId:</a></td></tr>
<tr class="memdesc:a2a94ac312167c8438992a124374d24a4 inherit pub_methods_interface_c_entity"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用 ID 初始化。  <a href="interface_c_entity.html#a2a94ac312167c8438992a124374d24a4">更多...</a><br /></td></tr>
<tr class="separator:a2a94ac312167c8438992a124374d24a4 inherit pub_methods_interface_c_entity"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c9742800966519c33c2b9dd73a5dd21 inherit pub_methods_interface_c_entity"><td class="memItemLeft" align="right" valign="top">(instancetype)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_entity.html#a8c9742800966519c33c2b9dd73a5dd21">initWithId:timestamp:</a></td></tr>
<tr class="memdesc:a8c9742800966519c33c2b9dd73a5dd21 inherit pub_methods_interface_c_entity"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用 ID 和实体时间戳初始化。  <a href="interface_c_entity.html#a8c9742800966519c33c2b9dd73a5dd21">更多...</a><br /></td></tr>
<tr class="separator:a8c9742800966519c33c2b9dd73a5dd21 inherit pub_methods_interface_c_entity"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac291eeedc2a27e8d04d14a83fba7ee53 inherit pub_methods_interface_c_entity"><td class="memItemLeft" align="right" valign="top">(UInt64)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_entity.html#ac291eeedc2a27e8d04d14a83fba7ee53">getId</a></td></tr>
<tr class="memdesc:ac291eeedc2a27e8d04d14a83fba7ee53 inherit pub_methods_interface_c_entity"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取实体 ID 。  <a href="interface_c_entity.html#ac291eeedc2a27e8d04d14a83fba7ee53">更多...</a><br /></td></tr>
<tr class="separator:ac291eeedc2a27e8d04d14a83fba7ee53 inherit pub_methods_interface_c_entity"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
属性</h2></td></tr>
<tr class="memitem:a115e84959877a5c1ffa661858cb23179"><td class="memItemLeft" align="right" valign="top">NSMutableArray&lt; __kindof <a class="el" href="interface_c_device.html">CDevice</a> * &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_contact.html#a115e84959877a5c1ffa661858cb23179">devices</a></td></tr>
<tr class="separator:a115e84959877a5c1ffa661858cb23179"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afec51988ab3f9241e5b50a40eb30addb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface_c_contact_appendix.html">CContactAppendix</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_contact.html#afec51988ab3f9241e5b50a40eb30addb">appendix</a></td></tr>
<tr class="separator:afec51988ab3f9241e5b50a40eb30addb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header properties_interface_c_abstract_contact"><td colspan="2" onclick="javascript:toggleInherit('properties_interface_c_abstract_contact')"><img src="closed.png" alt="-"/>&#160;属性 继承自 <a class="el" href="interface_c_abstract_contact.html">CAbstractContact</a></td></tr>
<tr class="memitem:a826c1aaa3d53b4aab1714a9ecf89e7fc inherit properties_interface_c_abstract_contact"><td class="memItemLeft" align="right" valign="top">NSString *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_abstract_contact.html#a826c1aaa3d53b4aab1714a9ecf89e7fc">name</a></td></tr>
<tr class="separator:a826c1aaa3d53b4aab1714a9ecf89e7fc inherit properties_interface_c_abstract_contact"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a7adf2ba644453d97a90168719dab08 inherit properties_interface_c_abstract_contact"><td class="memItemLeft" align="right" valign="top">NSString *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_abstract_contact.html#a4a7adf2ba644453d97a90168719dab08">domain</a></td></tr>
<tr class="separator:a4a7adf2ba644453d97a90168719dab08 inherit properties_interface_c_abstract_contact"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header properties_interface_c_entity"><td colspan="2" onclick="javascript:toggleInherit('properties_interface_c_entity')"><img src="closed.png" alt="-"/>&#160;属性 继承自 <a class="el" href="interface_c_entity.html">CEntity</a></td></tr>
<tr class="memitem:abe3affde8e879755ff4fd411a29e97c8 inherit properties_interface_c_entity"><td class="memItemLeft" align="right" valign="top">UInt64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_entity.html#abe3affde8e879755ff4fd411a29e97c8">identity</a></td></tr>
<tr class="separator:abe3affde8e879755ff4fd411a29e97c8 inherit properties_interface_c_entity"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34ad2e7db0739633cb2f53f1d0ff64f2 inherit properties_interface_c_entity"><td class="memItemLeft" align="right" valign="top">UInt64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_entity.html#a34ad2e7db0739633cb2f53f1d0ff64f2">timestamp</a></td></tr>
<tr class="separator:a34ad2e7db0739633cb2f53f1d0ff64f2 inherit properties_interface_c_entity"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba5eabe443e92b85a344c52b384344b6 inherit properties_interface_c_entity"><td class="memItemLeft" align="right" valign="top">UInt64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_entity.html#aba5eabe443e92b85a344c52b384344b6">expiry</a></td></tr>
<tr class="separator:aba5eabe443e92b85a344c52b384344b6 inherit properties_interface_c_entity"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fe484cd3eb439c354bc0b106f20baa4 inherit properties_interface_c_entity"><td class="memItemLeft" align="right" valign="top">NSDictionary *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_entity.html#a7fe484cd3eb439c354bc0b106f20baa4">context</a></td></tr>
<tr class="separator:a7fe484cd3eb439c354bc0b106f20baa4 inherit properties_interface_c_entity"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>联系人实体。 </p>
</div><h2 class="groupheader">函数文档</h2>
<a id="aebefe3c25676becce51590a2b72041e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aebefe3c25676becce51590a2b72041e9">&#9670;&nbsp;</a></span>addDevice:</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) addDevice: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_device.html">CDevice</a> *)&#160;</td>
          <td class="paramname"><em>device</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>添加联系人使用的设备。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">device</td><td>设备描述。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a5b0308712fde3f4bb67fbfc41a43a7db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b0308712fde3f4bb67fbfc41a43a7db">&#9670;&nbsp;</a></span>getDevice</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="interface_c_device.html">CDevice</a> *) getDevice </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取联系人的最近一次使用的设备。 </p>
<dl class="section return"><dt>返回</dt><dd>返回最近一次使用的设备。 </dd></dl>

</div>
</div>
<a id="af688ac15f661464d47f2e844844fa80c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af688ac15f661464d47f2e844844fa80c">&#9670;&nbsp;</a></span>getPriorityName</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString *) getPriorityName </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取联系人优先显示的名称。 </p>
<dl class="section return"><dt>返回</dt><dd>返回联系人优先显示的名称。 </dd></dl>

</div>
</div>
<a id="aca9adac2014a6ae03c06dfe269154686"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca9adac2014a6ae03c06dfe269154686">&#9670;&nbsp;</a></span>initWithId:name:domain:</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (instancetype) <a class="el" href="interface_c_entity.html#a2a94ac312167c8438992a124374d24a4">initWithId:</a> </td>
          <td></td>
          <td class="paramtype">(UInt64)&#160;</td>
          <td class="paramname"><em>identity</em></td>
        </tr>
        <tr>
          <td class="paramkey">name:</td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>name</em></td>
        </tr>
        <tr>
          <td class="paramkey">domain:</td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>domain</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>初始化联系人。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">identity</td><td>指定联系人 ID 。 </td></tr>
    <tr><td class="paramname">name</td><td>指定联系人名称。 </td></tr>
    <tr><td class="paramname">domain</td><td>指定联系人所在的域。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回对象实例。 </dd></dl>

<p>实现了 <a class="el" href="interface_c_abstract_contact.html#a739a8ac52a6e04ef19ab31e92a6db0f6">CAbstractContact</a>.</p>

</div>
</div>
<a id="a2ce7ad5b54719cee8d059ad96c79c5dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ce7ad5b54719cee8d059ad96c79c5dd">&#9670;&nbsp;</a></span>initWithId:name:domain:timestamp:</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (instancetype) <a class="el" href="interface_c_entity.html#a2a94ac312167c8438992a124374d24a4">initWithId:</a> </td>
          <td></td>
          <td class="paramtype">(UInt64)&#160;</td>
          <td class="paramname"><em>identity</em></td>
        </tr>
        <tr>
          <td class="paramkey">name:</td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>name</em></td>
        </tr>
        <tr>
          <td class="paramkey">domain:</td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>domain</em></td>
        </tr>
        <tr>
          <td class="paramkey">timestamp:</td>
          <td></td>
          <td class="paramtype">(UInt64)&#160;</td>
          <td class="paramname"><em>timestamp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>初始化联系人。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">identity</td><td>指定联系人 ID 。 </td></tr>
    <tr><td class="paramname">name</td><td>指定联系人名称。 </td></tr>
    <tr><td class="paramname">domain</td><td>指定联系人所在的域。 </td></tr>
    <tr><td class="paramname">timestamp</td><td>指定联系人的时间戳。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回对象实例。 </dd></dl>

<p>实现了 <a class="el" href="interface_c_abstract_contact.html#ae1b73083b4a75cff3b549550bb2c0c01">CAbstractContact</a>.</p>

</div>
</div>
<a id="a14dc5514e37c996510d060b463a3d8bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a14dc5514e37c996510d060b463a3d8bd">&#9670;&nbsp;</a></span>initWithJSON:domain:</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (instancetype) initWithJSON: </td>
          <td></td>
          <td class="paramtype">(NSDictionary *)&#160;</td>
          <td class="paramname"><em>json</em></td>
        </tr>
        <tr>
          <td class="paramkey">domain:</td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>domain</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>初始化联系人。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">json</td><td>指定 JSON 结构的数据。 </td></tr>
    <tr><td class="paramname">domain</td><td>指定联系人所在的域。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回对象实例。 </dd></dl>

</div>
</div>
<a id="a638a6f6116810a8debf627ef7d5d0dcf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a638a6f6116810a8debf627ef7d5d0dcf">&#9670;&nbsp;</a></span>isEqual:</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (BOOL) isEqual: </td>
          <td></td>
          <td class="paramtype">(id)&#160;</td>
          <td class="paramname"><em>object</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>判断指定联系人实例是否于当前实例数据相同。 </p>
<dl class="section return"><dt>返回</dt><dd>如果联系人 ID 和域相同返回 <code>TRUE</code> ，否则返回 <code>FALSE</code> 。 </dd></dl>

</div>
</div>
<a id="a7a4cca262675783f5d0aa34c9cf209d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a4cca262675783f5d0aa34c9cf209d7">&#9670;&nbsp;</a></span>removeDevice:</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) removeDevice: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_device.html">CDevice</a> *)&#160;</td>
          <td class="paramname"><em>device</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>移除联系人使用的设备。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">device</td><td>设备描述。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">属性说明</h2>
<a id="afec51988ab3f9241e5b50a40eb30addb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afec51988ab3f9241e5b50a40eb30addb">&#9670;&nbsp;</a></span>appendix</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="interface_c_contact_appendix.html">CContactAppendix</a>*) appendix</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span><span class="mlabel">nonatomic</span><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>联系人附录。 </p>

</div>
</div>
<a id="a115e84959877a5c1ffa661858cb23179"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a115e84959877a5c1ffa661858cb23179">&#9670;&nbsp;</a></span>devices</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (NSMutableArray&lt;__kindof <a class="el" href="interface_c_device.html">CDevice</a> *&gt;*) devices</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>当前有效的设备列表。 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li><a class="el" href="_c_contact_8h_source.html">CContact.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.18-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="interface_c_contact.html">CContact</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
